package com.alterzhang.alterzhangweb.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import service.UserSrevise;

@Controller
public class UserController {

    @Reference
    private UserSrevise userSrevise;


    @RequestMapping("/sayHello")
    @ResponseBody
    public String sayHello() {

       /* ClassLoader*/

        return userSrevise.sayHello();
    }
}
